package com.markyao.service.db;

import com.markyao.vo.ConfigInfoVo;
import com.markyao.vo.QueryParams;
import com.markyao.vo.Result;
import com.markyao.vo.pojo.ConfigInfo;

import java.util.List;
import java.util.Map;

public interface ConfigInfoService {

    Result insert(ConfigInfoVo configInfo);

    Result delete(Long id);
    Result deletes(String[] id);

    Result update(ConfigInfoVo configInfo);

    ConfigInfoVo select(QueryParams queryParams);

    Result selectList(QueryParams queryParams);

    Map<String, Object> selectByDataIdAndGroupId(String dataId, String groupId);
}
